<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<title><?php echo C('WEB_TITLE');?></title>

		<link rel="stylesheet" type="text/css" href="/Public/css/common.css"/>

		<link rel="stylesheet" type="text/css" href="/Public/js/layui/css/layui.css" media="all"/>

		<link rel="stylesheet" href="/Public/js/datepicker/datepicker.css"/>

		<link rel="stylesheet" type="text/css" href="/Public/crm/css/index.css"/>

		<link rel="stylesheet" type="text/css" href="/Public/crm/css/style.css"/>

		<link rel="stylesheet" href="<?php echo C('PC_ICON_HTTP');?>">

		<script type="text/javascript" >

			const moduleName = "<?php echo (MODULE_NAME); ?>";

		</script>

        <link rel="stylesheet" href="/Public/js/viewer/css/viewer.min.css">
		
		<link rel="stylesheet" type="text/css" href="/Public/js/select2/select2.css" media="all"/>

		<script type="text/javascript" src="/Public/js/jquery-1.9.1.min.js"></script>
		
		<script type="text/javascript" src="/Public/js/jquery-ui.min.js"></script>

		<script type="text/javascript" src="/Public/js/cookie/jquery.cookie.js"></script>

		<script type="text/javascript" src="/Public/js/lang/<?php echo (getStrToLower(cookie('think_language'))); ?>.js"></script>

		<script type="text/javascript" src="/Public/js/colorpicker.js"></script>

		<script type="text/javascript" src="/Public/js/layer/layer.js"></script>

		<script type="text/javascript" src="/Public/js/layui/layui.js"></script>

        <script type="text/javascript" src="/Public/js/feeldesk.js"></script>

        <script type="text/javascript" src="/Public/crm/js/index.js"></script>

        <script type="text/javascript" src="/Public/js/jquery.nicescroll.js"></script>

		<script type="text/javascript" src="/Public/js/clipboard.min.js"></script>

		<script type="text/javascript" src="/Public/js/select2/select2.min.js"></script>

		<script type="text/javascript" src="/Public/js/select2/jquery.core.js"></script>

	</head>

<body>

<script type="text/javascript" src="/Public/js/datepicker/datepicker.all.js"></script>

<script type="text/javascript" src="/Public/js/datepicker/moment.min.js"></script>

<script type="text/javascript" src="/Public/js/datepicker/datepicker.en.js"></script>

    <div class="fd-right-main">

        

    <div class="feeldesk-form pd0">

        <div class="layui-tab">

			<form id="web_setting" action="<?php echo U('productType/create');?>" method="post" class="layui-form">

            <ul class="layui-tab-title">

                <li class="tab-title-name"><?php echo L('ADD_PRODUCT_CATEGORY');?></li>

				<li class="tab-title-btn">

					<a href="javascript:" id="submitForm" class="layui-btn layui-btn-normal titleSubmit"><?php echo l('SUBMIT');?></a>

					<a href="javascript:closeLayerOpen();" class="layui-btn layui-btn-normal titleCancel"><?php echo l('CANCEL');?></a>

					<div class="clear"></div>

				</li>

            </ul>

            <div class="layui-tab-content form-content pt100">

                <div class="layui-tab-item layui-show">

                        <div class="form-item">

                            <div class="layui-form-item">

                                <label class="layui-form-label"><?php echo L('CATEGORY_NAME');?></label>

                                <div class="layui-input-inline">

                                    <input type="text" name="productType[type_name]" value=""  placeholder="<?php echo L('ENTER_CATEGORY_NAME');?>" class="layui-input">

                                </div>

                            </div>

                            <?php if(($langAuth['en_auth']) == "10"): ?><div class="layui-form-item">

                                    <label class="layui-form-label">English name</label>

                                    <div class="layui-input-inline">

                                        <input type="text" name="productType[name_en]" value=""  placeholder="<?php echo L('ENTER_CATEGORY_NAME');?>" class="layui-input">

                                    </div>

                                </div><?php endif; ?>

                            <?php if(($langAuth['jp_auth']) == "10"): ?><div class="layui-form-item">

                                    <label class="layui-form-label">日本語名</label>

                                    <div class="layui-input-inline">

                                        <input type="text" name="productType[name_jp]" value=""  placeholder="<?php echo L('ENTER_CATEGORY_NAME');?>" class="layui-input">

                                    </div>

                                </div><?php endif; ?>

                            <div class="layui-form-item">

								<label class="layui-form-label"><?php echo L('PARENT_CATEGORY');?></label>

								<div class="layui-input-inline">

									<select name="productType[parent_id]" lay-filter="level">

										<option value=""><?php echo L('TOP_CLASSIFICATION');?></option>

										<?php if(is_array($product_type_h)): foreach($product_type_h as $key=>$vo): echo ($vo); endforeach; endif; ?>

									</select>


								</div>

							</div>

                            <div class="layui-form-item">

                                <label class="layui-form-label"><?php echo L('CLASSIFICATION_DESCRIPTION');?></label>

                                <div class="layui-input-inline">

                                    <textarea class="layui-input" name="productType[type_describe]" ></textarea>

                                </div>

                            </div>


                        </div>



                </div>

            </div>

			</form>

        </div>



    </div>

    <script type="text/javascript" src="/Public/js/submitform.js"></script>

    

	</body>

</html>

<!-- 底部结束 -->





    </div>

    </body>

</html>